﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IdentityExample.Models
{
    public class FavoriteMoviesViewModel
    {
        public string UserId { get; set; }
        public string UserName { get; set; }
        public List<MovieViewModel> Movies { get; set; }
    }

    public class MovieViewModel
    {
        public int MovieId { get; set; }
        public string Title { get; set; }
        public int RatingId { get; set; }
        public string RatingName { get; set; }
    }

    public class CreateUserMovieViewModel
    {
        public string UserId { get; set; }
        public int SelectedMovieId { get; set; }
        public List<MovieSelectViewModel> Movies { get; set; }
        public int SelectedRatingId { get; set; }
        public List<RatingSelectViewModel> Ratings { get; set; }
    }

    public class MovieSelectViewModel
    {
        public int MovieId { get; set; }
        public string Title { get; set; }
    }

    public class RatingSelectViewModel
    {
        public int RatingId { get; set; }
        public string Name { get; set; }
    }
}